package com.yeqifu.sys.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yeqifu.sys.entity.Shelf;
import com.yeqifu.sys.mapper.ShelfMapper;
import com.yeqifu.sys.service.IShelfService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author 连安利
 * @version 1.0
 * @date 2020/12/21 11:19
 */
@Service
@Transactional
public class ShelfServiceImpl extends ServiceImpl<ShelfMapper, Shelf> implements IShelfService {
    @Override
    public List<Shelf> listBydeptid(Integer deptid) {
        return getBaseMapper().queryUserShelfByUid(deptid);
    }
}
